package com.midea.oms.Dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @projectName: 接口梳理
 * @package: com.midea.oms.Dto
 * @className: Template
 * @author: zhangcan30
 * @description: TODO
 * @date: 2024/1/2 11:06
 * @version: 1.0
 */
@Data
@ColumnWidth(10)
@HeadRowHeight(70)
// 该注解忽略未添加@ExcelProperty注解的属性
@ExcelIgnoreUnannotated
public class Template {

    @ExcelProperty(value = "经营中心", index = 0)
    private String businessCenter;

    @ExcelProperty(value = "日期", index = 1)
    private String date;

    @ExcelProperty(value = "直控线路总订单数量", index = 2)
    private Integer directLineTaskNum = 0;
    @ExcelProperty(value = "直控线路总订单总方量", index = 3)
    private BigDecimal directLineVolume = BigDecimal.ZERO;
    @ExcelProperty(value = "固定标订单数量", index = 4)
    private Integer fixedLabelTaskNum = 0;
    @ExcelProperty(value = "固定标订单方量", index = 5)
    private BigDecimal fixedLabelVolume = BigDecimal.ZERO;

    @ExcelProperty(value = "临时标订单数量", index = 6)
    private Integer temLabelTaskNum = 0;

    @ExcelProperty(value = "临时标订单方量", index = 7)
    private BigDecimal temLabelVolume = BigDecimal.ZERO;

    @ExcelProperty(value = "临时标搬仓订单数量", index = 8)
    private Integer temLabelMoveTaskNum = 0;

    @ExcelProperty(value = "临时标搬仓订单方量", index = 9)
    private BigDecimal temLabelMoveVolume = BigDecimal.ZERO;

    @ExcelProperty(value = "临时标直配订单数量", index = 10)
    private Integer temLabelDeliveryTaskNum = 0;

    @ExcelProperty(value = "临时标直配订单方量", index = 11)
    private BigDecimal temLabelDeliveryVolume = BigDecimal.ZERO;

    @ExcelProperty(value = "改约订单数量", index = 12)
    private Integer changeAppointmentTaskNum = 0;

    @ExcelProperty(value = "改约订单方量", index = 13)
    private BigDecimal changeAppointmentVolume = BigDecimal.ZERO;

    @ExcelProperty(value = "应使用订单单量", index = 14)
    private Integer shouldLabelTaskNum = 0;
    @ExcelProperty(value = "应使用订单方量", index = 15)
    private BigDecimal shouldLabelVolume = BigDecimal.ZERO;
    @ExcelProperty(value = "使用过一键排车的订单量", index = 16)
    private Integer onClickTaskNum = 0;
    @ExcelProperty(value = "使用过一键排车的订单方量", index = 17)
    private BigDecimal onClickVolume = BigDecimal.ZERO;
    @ExcelProperty(value = "实际使用算法排车的订单数量", index = 18)
    private Integer actualTaskNum = 0;
    @ExcelProperty(value = "实际使用算法排车的订单方量", index = 19)
    private BigDecimal actualVolume = BigDecimal.ZERO;
    @ExcelProperty(value = "直接采纳的订单数量（未发生转移动作）", index = 20)
    private Integer directTaskNum = 0;
    @ExcelProperty(value = "直接采纳的订单方量未发生转移动作", index = 21)
    private BigDecimal directVolume = BigDecimal.ZERO;
    @ExcelProperty(value = "使用率（单量）", index = 22)
    private BigDecimal useTaskNumRate = BigDecimal.ZERO;
    @ExcelProperty(value = "使用率（方量）", index = 23)
    private BigDecimal useVolumeRate = BigDecimal.ZERO;
    @ExcelProperty(value = "采纳率（单量）", index = 24)
    private BigDecimal adoptTaskNumRate = BigDecimal.ZERO;
    @ExcelProperty(value = "采纳率（方量）", index = 25)
    private BigDecimal adoptVolumeRate = BigDecimal.ZERO;

}
